Getting "urllib.error.HTTPError: HTTP Error 403: Forbidden" error in Easyocr |
您所在的位置:网站首页 › git error 403 › Getting "urllib.error.HTTPError: HTTP Error 403: Forbidden" error in Easyocr |
This error can be resolved but its a long process first uninstall easyocr, torch and torchvision using terminal pip uninstall easyocr pip uninstall torch` pip uninstall torchvisionafter above step run pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.htmlnow if Git is install in your system simply install easyocr directly by original link by command: pip install git+git://github.com/jaidedai/easyocr.gitif git is not installed then install it from here : install git for windows : https://git-scm.com/download/win after installation follow these steps : Search for Advanced system settings click on "Environment Variables" Now under System Variables find "PATH" And click on it minimize above screen and go to c drive and search and copy path of git.exe and cmd from git folder in my case it was :- C:\Program Files\Git\cmd; C:\Program Files\Git\bin\git.exe Paste both address in "PATH" and click ok You can also refer to :- How to change environment variables : Git: Installing Git in PATH with GitHub client for Windows Finally when torchvision, torch, easyocr are latest in your system and git is installed it should resolve your error |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |